package com.strato.mvc.menu.v1_0_0.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface MenuItem {

	public static final String AUTO_DETECT_URL="auto";
	public static final String DEFAULT_GROUP="default";
	
	public String group() default DEFAULT_GROUP;
	public String path();
	public String text();
	public String icon() default "";
	public String url() default AUTO_DETECT_URL;
	public int order() default 100;
	public boolean includeContext() default false;
}
